<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			wx.cloud.init({
				traceUser: true,
				env: 'a2317770710-7gnpjlb341a2ff58'
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		onLoad: () => {
			// 使用云开发小程序
			// wx.cloud.init({
			// 	traceUser: true,
			// })

			wx.cloud.init({
				env: 'a2317770710-7gnpjlb341a2ff58', //云开发环境
				traceUser: true,
			})



		}
	}
</script>

<style>
	/*每个页面公共css */
	body,
	html {
		width: 100%;
		height: 100%;
		background-color: #f1f1f1;
		/* padding: 10px; */
		box-sizing: border-box;
	}
</style>
